package com.group01.community.utils;

import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;

/**
 * @author : iuoly
 * date : 2022/7/15
 */
public class CommunityTreeUtils {

    public static <T> List<T> buildTree(List<T> data) {
        return null;
    }

    private static <T> List<T> getRootNode(List<T> data, Method getId, Method getParentId) {
        List<T> rootNodes = new ArrayList<>();

        return null;
    }


}
